<?php

class AdminUserController extends AdminController {

	public function getIndex()
	{
		$data = array('name' => 'test');

		$this->layout->title = "Admin Controller";
		$this->layout->content = View::make('admin.user.form', $data);
	}

	public function getCreate()
	{
		$data = array('name' => 'test');

		$this->layout->title = "Admin Controller";
		$this->layout->content = View::make('admin.user.form', $data);
	}

	public function postCreate()
	{
		$data = array('name' => 'test');

		$this->layout->title = "Admin User Controller @ create action";
		$this->layout->content = View::make('admin.user.form', $data);
	}

	public function getEdit()
	{
		$data = array('name' => 'test');

		$this->layout->title = "Admin Controller";
		$this->layout->content = View::make('admin.index', $data);
	}

	public function postEdit()
	{
		$data = array('name' => 'test');

		$this->layout->title = "Admin Controller";
		$this->layout->content = View::make('admin.index', $data);
	}

	public function postDelete()
	{
		$data = array('name' => 'test');

		$this->layout->title = "Admin Controller";
		$this->layout->content = View::make('admin.index', $data);
	}
}
